package com.bit.forum.service;

import com.bit.forum.model.User;

public interface IUserService {

    /**
     * 创建普通⽤⼾
     * @param user 用户信息
     */
    void createNormalUser(User user);

    User selectByUsername(String username);

    User login(String username, String password);

    User selectByPrimaryKey(Long id);

    void addOneArticleCountById(Long id);

    void subOneArticleCountById(Long id);
}
